/*
 * An XML document type.
 * Localname: create-timer
 * Namespace: urn:jbpm.org:jpdl-3.2
 * Java type: x2.orgJpdl3.jbpm.CreateTimerDocument
 *
 * Automatically generated - do not modify.
 */
package x2.orgJpdl3.jbpm;


/**
 * A document containing one create-timer(@urn:jbpm.org:jpdl-3.2) element.
 *
 * This is a complex type.
 */
public interface CreateTimerDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(CreateTimerDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("createtimerbf8bdoctype");
    
    /**
     * Gets the "create-timer" element
     */
    x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer getCreateTimer();
    
    /**
     * Sets the "create-timer" element
     */
    void setCreateTimer(x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer createTimer);
    
    /**
     * Appends and returns a new empty "create-timer" element
     */
    x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer addNewCreateTimer();
    
    /**
     * An XML create-timer(@urn:jbpm.org:jpdl-3.2).
     *
     * This is a complex type.
     */
    public interface CreateTimer extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(CreateTimer.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("createtimeredbbelemtype");
        
        /**
         * Gets the "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action getAction();
        
        /**
         * True if has "action" element
         */
        boolean isSetAction();
        
        /**
         * Sets the "action" element
         */
        void setAction(x2.orgJpdl3.jbpm.ActionDocument.Action action);
        
        /**
         * Appends and returns a new empty "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action addNewAction();
        
        /**
         * Unsets the "action" element
         */
        void unsetAction();
        
        /**
         * Gets the "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script getScript();
        
        /**
         * True if has "script" element
         */
        boolean isSetScript();
        
        /**
         * Sets the "script" element
         */
        void setScript(x2.orgJpdl3.jbpm.ScriptDocument.Script script);
        
        /**
         * Appends and returns a new empty "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script addNewScript();
        
        /**
         * Unsets the "script" element
         */
        void unsetScript();
        
        /**
         * Gets the "duedate" attribute
         */
        java.lang.String getDuedate();
        
        /**
         * Gets (as xml) the "duedate" attribute
         */
        org.apache.xmlbeans.XmlString xgetDuedate();
        
        /**
         * Sets the "duedate" attribute
         */
        void setDuedate(java.lang.String duedate);
        
        /**
         * Sets (as xml) the "duedate" attribute
         */
        void xsetDuedate(org.apache.xmlbeans.XmlString duedate);
        
        /**
         * Gets the "name" attribute
         */
        java.lang.String getName();
        
        /**
         * Gets (as xml) the "name" attribute
         */
        org.apache.xmlbeans.XmlString xgetName();
        
        /**
         * True if has "name" attribute
         */
        boolean isSetName();
        
        /**
         * Sets the "name" attribute
         */
        void setName(java.lang.String name);
        
        /**
         * Sets (as xml) the "name" attribute
         */
        void xsetName(org.apache.xmlbeans.XmlString name);
        
        /**
         * Unsets the "name" attribute
         */
        void unsetName();
        
        /**
         * Gets the "repeat" attribute
         */
        java.lang.String getRepeat();
        
        /**
         * Gets (as xml) the "repeat" attribute
         */
        org.apache.xmlbeans.XmlString xgetRepeat();
        
        /**
         * True if has "repeat" attribute
         */
        boolean isSetRepeat();
        
        /**
         * Sets the "repeat" attribute
         */
        void setRepeat(java.lang.String repeat);
        
        /**
         * Sets (as xml) the "repeat" attribute
         */
        void xsetRepeat(org.apache.xmlbeans.XmlString repeat);
        
        /**
         * Unsets the "repeat" attribute
         */
        void unsetRepeat();
        
        /**
         * Gets the "transition" attribute
         */
        java.lang.String getTransition();
        
        /**
         * Gets (as xml) the "transition" attribute
         */
        org.apache.xmlbeans.XmlString xgetTransition();
        
        /**
         * True if has "transition" attribute
         */
        boolean isSetTransition();
        
        /**
         * Sets the "transition" attribute
         */
        void setTransition(java.lang.String transition);
        
        /**
         * Sets (as xml) the "transition" attribute
         */
        void xsetTransition(org.apache.xmlbeans.XmlString transition);
        
        /**
         * Unsets the "transition" attribute
         */
        void unsetTransition();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer newInstance() {
              return (x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static x2.orgJpdl3.jbpm.CreateTimerDocument newInstance() {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.CreateTimerDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.CreateTimerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
